package auth

import "github.com/gin-gonic/gin"

// BasicAuthService 基础权限认证服务
type BasicAuthService struct {
}

// BasicAuth 权限认证函数
func (that *BasicAuthService) BasicAuth() gin.HandlerFunc {
	return gin.BasicAuth(gin.Accounts{
		"admin": "my-pa$$w0rd",
	})
}
